﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ObjectModel
{
    [Table(Name = "customer_contacts")]
    public class CustomerContact: BaseEntity<CustomerContact>
    {
        [Field(Name = "name")]
        public String Name { get; set; }

        [Field(Name = "phone")]
        public String Phone { get; set; }

        [Field(Name = "cel")]
        public String Cel { get; set; }

        [Field(IsOtherTable=true, Name = "id_customer")]
        public Customer Customer { get; set; }

        [Field(Name = "personal_mail")]
        public String PersonalMail { get; set; }

        [Field(Name = "corporate_mail")]
        public String CorporateMail { get; set; }

        [Field(Name = "fax")]
        public String Fax { get; set; }
    }
}
